import numpy as np
import matplotlib.pyplot as plt

def showSin(x):
    y = np.sin(x)
    plt.title("sin(x)")

    plt.figure(1, figsize=(10, 10))
    plt.plot(x, y, c='r', ls='--', lw='1', label='sin(x)')

    plt.xlim(-3.5, 3.5)
    plt.ylim(-1.2, 1.2)

    plt.axhline()
    plt.axvline()
    plt.xticks(list(range(-4, 4, 1)))

    plt.show()